package top.z.template;

public class test {
    public static void main(String[] args) {
        Loader   loader   = new Loader.FileLoader();
        Template template = loader.load("D:\\workspace\\project\\java\\z-template\\src\\main\\resources\\hello-world.bt");
        Context  context  = new Context();

        context.set("name", "test");
        context.set("list", new String[]{"3ba34234bcffe", "5bbe77f879000", "dd3ee54324bf3"});
        context.set("userList", new String[]{"zhangsan", "lsii", "wangwu"});
        context.set("size", 123);

        System.out.println(template.render(context));

    }
}
